package com.example.front_back_separation_development.service;

import com.example.front_back_separation_development.dto.ArticleDTO;
import com.example.front_back_separation_development.entity.Article;
import org.springframework.data.domain.Page;

public interface IDeviceService {
   public Page<Device> findAllByPaged(Integer page,Integer size);
   public Page<Device> findByTitleLike(DeviceDTO deviceDTO);
   public Boolean deleteById(DeviceDTO deviceDTO);
   public Boolean addDevice(DeviceDTO deviceDTO);
   public Boolean updateDevice(DeviceDTO deviceDTO);
}
